01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
MEM2(x, cons2(y, l)) -> EQ2(x, y)
*12(*2(x, y), z) -> *12(y, z)
LOG'1(11(x)) -> +12(log'1(x), 11(#))
PROD1(app2(l1, l2)) -> PROD1(l2)
IFINTER4(true, x, l1, l2) -> INTER2(l1, l2)
-12(01(x), 11(y)) -> -12(-2(x, y), 11(#))
SUM1(app2(l1, l2)) -> +12(sum1(l1), sum1(l2))
INTER2(l1, cons2(x, l2)) -> MEM2(x, l1)
LOG'1(01(x)) -> LOG'1(x)
*12(x, +2(y, z)) -> *12(x, y)
GE2(11(x), 01(y)) -> GE2(x, y)
GE2(01(x), 11(y)) -> GE2(y, x)
*12(*2(x, y), z) -> *12(x, *2(y, z))
+12(11(x), 11(y)) -> 011(+2(+2(x, y), 11(#)))
-12(11(x), 01(y)) -> -12(x, y)
-12(01(x), 11(y)) -> -12(x, y)
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l3)
+12(+2(x, y), z) -> +12(y, z)
PROD1(app2(l1, l2)) -> PROD1(l1)
*12(11(x), y) -> 011(*2(x, y))
*12(11(x), y) -> +12(01(*2(x, y)), y)
EQ2(01(x), 01(y)) -> EQ2(x, y)
APP2(cons2(x, l1), l2) -> APP2(l1, l2)
MEM2(x, cons2(y, l)) -> IF3(eq2(x, y), true, mem2(x, l))
LOG'1(01(x)) -> GE2(x, 11(#))
SUM1(app2(l1, l2)) -> SUM1(l1)
GE2(01(x), 11(y)) -> NOT1(ge2(y, x))
INTER2(app2(l1, l2), l3) -> INTER2(l1, l3)
LOG'1(01(x)) -> +12(log'1(x), 11(#))
PROD1(cons2(x, l)) -> *12(x, prod1(l))
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l2)
PROD1(cons2(x, l)) -> PROD1(l)
*12(x, +2(y, z)) -> *12(x, z)
*12(01(x), y) -> *12(x, y)
+12(01(x), 11(y)) -> +12(x, y)
+12(11(x), 01(y)) -> +12(x, y)
IFINTER4(false, x, l1, l2) -> INTER2(l1, l2)
+12(11(x), 11(y)) -> +12(+2(x, y), 11(#))
SUM1(nil) -> 011(#)
EQ2(11(x), 11(y)) -> EQ2(x, y)
INTER2(app2(l1, l2), l3) -> INTER2(l2, l3)
-12(11(x), 11(y)) -> 011(-2(x, y))
EQ2(01(x), #) -> EQ2(x, #)
EQ2(#, 01(y)) -> EQ2(#, y)
+12(01(x), 01(y)) -> +12(x, y)
-12(01(x), 01(y)) -> 011(-2(x, y))
LOG1(x) -> LOG'1(x)
INTER2(l1, cons2(x, l2)) -> IFINTER4(mem2(x, l1), x, l2, l1)
*12(x, +2(y, z)) -> +12(*2(x, y), *2(x, z))
*12(11(x), y) -> *12(x, y)
+12(01(x), 01(y)) -> 011(+2(x, y))
MEM2(x, cons2(y, l)) -> MEM2(x, l)
LOG'1(11(x)) -> LOG'1(x)
SUM1(cons2(x, l)) -> +12(x, sum1(l))
LOG1(x) -> -12(log'1(x), 11(#))
GE2(11(x), 11(y)) -> GE2(x, y)
+12(11(x), 11(y)) -> +12(x, y)
-12(01(x), 01(y)) -> -12(x, y)
SUM1(app2(l1, l2)) -> SUM1(l2)
INTER2(l1, app2(l2, l3)) -> APP2(inter2(l1, l2), inter2(l1, l3))
+12(+2(x, y), z) -> +12(x, +2(y, z))
SUM1(cons2(x, l)) -> SUM1(l)
LOG'1(01(x)) -> IF3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
GE2(#, 01(x)) -> GE2(#, x)
INTER2(cons2(x, l1), l2) -> IFINTER4(mem2(x, l2), x, l1, l2)
PROD1(app2(l1, l2)) -> *12(prod1(l1), prod1(l2))
INTER2(app2(l1, l2), l3) -> APP2(inter2(l1, l3), inter2(l2, l3))
*12(01(x), y) -> 011(*2(x, y))
GE2(01(x), 01(y)) -> GE2(x, y)
INTER2(cons2(x, l1), l2) -> MEM2(x, l2)
-12(11(x), 11(y)) -> -12(x, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
MEM2(x, cons2(y, l)) -> EQ2(x, y)
*12(*2(x, y), z) -> *12(y, z)
LOG'1(11(x)) -> +12(log'1(x), 11(#))
PROD1(app2(l1, l2)) -> PROD1(l2)
IFINTER4(true, x, l1, l2) -> INTER2(l1, l2)
-12(01(x), 11(y)) -> -12(-2(x, y), 11(#))
SUM1(app2(l1, l2)) -> +12(sum1(l1), sum1(l2))
INTER2(l1, cons2(x, l2)) -> MEM2(x, l1)
LOG'1(01(x)) -> LOG'1(x)
*12(x, +2(y, z)) -> *12(x, y)
GE2(11(x), 01(y)) -> GE2(x, y)
GE2(01(x), 11(y)) -> GE2(y, x)
*12(*2(x, y), z) -> *12(x, *2(y, z))
+12(11(x), 11(y)) -> 011(+2(+2(x, y), 11(#)))
-12(11(x), 01(y)) -> -12(x, y)
-12(01(x), 11(y)) -> -12(x, y)
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l3)
+12(+2(x, y), z) -> +12(y, z)
PROD1(app2(l1, l2)) -> PROD1(l1)
*12(11(x), y) -> 011(*2(x, y))
*12(11(x), y) -> +12(01(*2(x, y)), y)
EQ2(01(x), 01(y)) -> EQ2(x, y)
APP2(cons2(x, l1), l2) -> APP2(l1, l2)
MEM2(x, cons2(y, l)) -> IF3(eq2(x, y), true, mem2(x, l))
LOG'1(01(x)) -> GE2(x, 11(#))
SUM1(app2(l1, l2)) -> SUM1(l1)
GE2(01(x), 11(y)) -> NOT1(ge2(y, x))
INTER2(app2(l1, l2), l3) -> INTER2(l1, l3)
LOG'1(01(x)) -> +12(log'1(x), 11(#))
PROD1(cons2(x, l)) -> *12(x, prod1(l))
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l2)
PROD1(cons2(x, l)) -> PROD1(l)
*12(x, +2(y, z)) -> *12(x, z)
*12(01(x), y) -> *12(x, y)
+12(01(x), 11(y)) -> +12(x, y)
+12(11(x), 01(y)) -> +12(x, y)
IFINTER4(false, x, l1, l2) -> INTER2(l1, l2)
+12(11(x), 11(y)) -> +12(+2(x, y), 11(#))
SUM1(nil) -> 011(#)
EQ2(11(x), 11(y)) -> EQ2(x, y)
INTER2(app2(l1, l2), l3) -> INTER2(l2, l3)
-12(11(x), 11(y)) -> 011(-2(x, y))
EQ2(01(x), #) -> EQ2(x, #)
EQ2(#, 01(y)) -> EQ2(#, y)
+12(01(x), 01(y)) -> +12(x, y)
-12(01(x), 01(y)) -> 011(-2(x, y))
LOG1(x) -> LOG'1(x)
INTER2(l1, cons2(x, l2)) -> IFINTER4(mem2(x, l1), x, l2, l1)
*12(x, +2(y, z)) -> +12(*2(x, y), *2(x, z))
*12(11(x), y) -> *12(x, y)
+12(01(x), 01(y)) -> 011(+2(x, y))
MEM2(x, cons2(y, l)) -> MEM2(x, l)
LOG'1(11(x)) -> LOG'1(x)
SUM1(cons2(x, l)) -> +12(x, sum1(l))
LOG1(x) -> -12(log'1(x), 11(#))
GE2(11(x), 11(y)) -> GE2(x, y)
+12(11(x), 11(y)) -> +12(x, y)
-12(01(x), 01(y)) -> -12(x, y)
SUM1(app2(l1, l2)) -> SUM1(l2)
INTER2(l1, app2(l2, l3)) -> APP2(inter2(l1, l2), inter2(l1, l3))
+12(+2(x, y), z) -> +12(x, +2(y, z))
SUM1(cons2(x, l)) -> SUM1(l)
LOG'1(01(x)) -> IF3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
GE2(#, 01(x)) -> GE2(#, x)
INTER2(cons2(x, l1), l2) -> IFINTER4(mem2(x, l2), x, l1, l2)
PROD1(app2(l1, l2)) -> *12(prod1(l1), prod1(l2))
INTER2(app2(l1, l2), l3) -> APP2(inter2(l1, l3), inter2(l2, l3))
*12(01(x), y) -> 011(*2(x, y))
GE2(01(x), 01(y)) -> GE2(x, y)
INTER2(cons2(x, l1), l2) -> MEM2(x, l2)
-12(11(x), 11(y)) -> -12(x, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP2(cons2(x, l1), l2) -> APP2(l1, l2)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
APP2(cons2(x, l1), l2) -> APP2(l1, l2)
[APP1, cons1]
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
GE2(#, 01(x)) -> GE2(#, x)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
GE2(#, 01(x)) -> GE2(#, x)
[#, 01] > GE1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
GE2(11(x), 11(y)) -> GE2(x, y)
GE2(01(x), 01(y)) -> GE2(x, y)
GE2(11(x), 01(y)) -> GE2(x, y)
GE2(01(x), 11(y)) -> GE2(y, x)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
EQ2(01(x), #) -> EQ2(x, #)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
EQ2(01(x), #) -> EQ2(x, #)
[01, #] > EQ1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
EQ2(#, 01(y)) -> EQ2(#, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
EQ2(#, 01(y)) -> EQ2(#, y)
[#, 01] > EQ1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
EQ2(11(x), 11(y)) -> EQ2(x, y)
EQ2(01(x), 01(y)) -> EQ2(x, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
EQ2(01(x), 01(y)) -> EQ2(x, y)
Used ordering: Combined order from the following AFS and order.
EQ2(11(x), 11(y)) -> EQ2(x, y)
trivial
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
EQ2(11(x), 11(y)) -> EQ2(x, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
EQ2(11(x), 11(y)) -> EQ2(x, y)
trivial
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
MEM2(x, cons2(y, l)) -> MEM2(x, l)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
MEM2(x, cons2(y, l)) -> MEM2(x, l)
[MEM1, cons1]
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
INTER2(l1, cons2(x, l2)) -> IFINTER4(mem2(x, l1), x, l2, l1)
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l3)
INTER2(cons2(x, l1), l2) -> IFINTER4(mem2(x, l2), x, l1, l2)
INTER2(l1, app2(l2, l3)) -> INTER2(l1, l2)
IFINTER4(true, x, l1, l2) -> INTER2(l1, l2)
INTER2(app2(l1, l2), l3) -> INTER2(l2, l3)
INTER2(app2(l1, l2), l3) -> INTER2(l1, l3)
IFINTER4(false, x, l1, l2) -> INTER2(l1, l2)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
-12(11(x), 01(y)) -> -12(x, y)
-12(01(x), 11(y)) -> -12(x, y)
-12(01(x), 01(y)) -> -12(x, y)
-12(01(x), 11(y)) -> -12(-2(x, y), 11(#))
-12(11(x), 11(y)) -> -12(x, y)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
-12(11(x), 01(y)) -> -12(x, y)
-12(01(x), 11(y)) -> -12(x, y)
-12(01(x), 01(y)) -> -12(x, y)
-12(01(x), 11(y)) -> -12(-2(x, y), 11(#))
-12(11(x), 11(y)) -> -12(x, y)
[11, 01, #]
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
01(#) -> #
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
+12(01(x), 01(y)) -> +12(x, y)
+12(11(x), 11(y)) -> +12(x, y)
+12(+2(x, y), z) -> +12(y, z)
+12(11(x), 01(y)) -> +12(x, y)
+12(01(x), 11(y)) -> +12(x, y)
+12(+2(x, y), z) -> +12(x, +2(y, z))
+12(11(x), 11(y)) -> +12(+2(x, y), 11(#))
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
SUM1(app2(l1, l2)) -> SUM1(l1)
SUM1(app2(l1, l2)) -> SUM1(l2)
SUM1(cons2(x, l)) -> SUM1(l)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
SUM1(app2(l1, l2)) -> SUM1(l1)
SUM1(app2(l1, l2)) -> SUM1(l2)
Used ordering: Combined order from the following AFS and order.
SUM1(cons2(x, l)) -> SUM1(l)
app2 > SUM1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
SUM1(cons2(x, l)) -> SUM1(l)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
SUM1(cons2(x, l)) -> SUM1(l)
cons2 > SUM1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
*12(*2(x, y), z) -> *12(y, z)
*12(x, +2(y, z)) -> *12(x, z)
*12(11(x), y) -> *12(x, y)
*12(x, +2(y, z)) -> *12(x, y)
*12(01(x), y) -> *12(x, y)
*12(*2(x, y), z) -> *12(x, *2(y, z))
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
PROD1(app2(l1, l2)) -> PROD1(l2)
PROD1(cons2(x, l)) -> PROD1(l)
PROD1(app2(l1, l2)) -> PROD1(l1)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
PROD1(app2(l1, l2)) -> PROD1(l2)
PROD1(app2(l1, l2)) -> PROD1(l1)
Used ordering: Combined order from the following AFS and order.
PROD1(cons2(x, l)) -> PROD1(l)
app2 > PROD1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
PROD1(cons2(x, l)) -> PROD1(l)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
PROD1(cons2(x, l)) -> PROD1(l)
cons2 > PROD1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
LOG'1(11(x)) -> LOG'1(x)
LOG'1(01(x)) -> LOG'1(x)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
LOG'1(01(x)) -> LOG'1(x)
Used ordering: Combined order from the following AFS and order.
LOG'1(11(x)) -> LOG'1(x)
trivial
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
LOG'1(11(x)) -> LOG'1(x)
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
LOG'1(11(x)) -> LOG'1(x)
11 > LOG'1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
01(#) -> #
+2(x, #) -> x
+2(#, x) -> x
+2(01(x), 01(y)) -> 01(+2(x, y))
+2(01(x), 11(y)) -> 11(+2(x, y))
+2(11(x), 01(y)) -> 11(+2(x, y))
+2(11(x), 11(y)) -> 01(+2(+2(x, y), 11(#)))
+2(+2(x, y), z) -> +2(x, +2(y, z))
-2(#, x) -> #
-2(x, #) -> x
-2(01(x), 01(y)) -> 01(-2(x, y))
-2(01(x), 11(y)) -> 11(-2(-2(x, y), 11(#)))
-2(11(x), 01(y)) -> 11(-2(x, y))
-2(11(x), 11(y)) -> 01(-2(x, y))
not1(true) -> false
not1(false) -> true
if3(true, x, y) -> x
if3(false, x, y) -> y
eq2(#, #) -> true
eq2(#, 11(y)) -> false
eq2(11(x), #) -> false
eq2(#, 01(y)) -> eq2(#, y)
eq2(01(x), #) -> eq2(x, #)
eq2(11(x), 11(y)) -> eq2(x, y)
eq2(01(x), 11(y)) -> false
eq2(11(x), 01(y)) -> false
eq2(01(x), 01(y)) -> eq2(x, y)
ge2(01(x), 01(y)) -> ge2(x, y)
ge2(01(x), 11(y)) -> not1(ge2(y, x))
ge2(11(x), 01(y)) -> ge2(x, y)
ge2(11(x), 11(y)) -> ge2(x, y)
ge2(x, #) -> true
ge2(#, 01(x)) -> ge2(#, x)
ge2(#, 11(x)) -> false
log1(x) -> -2(log'1(x), 11(#))
log'1(#) -> #
log'1(11(x)) -> +2(log'1(x), 11(#))
log'1(01(x)) -> if3(ge2(x, 11(#)), +2(log'1(x), 11(#)), #)
*2(#, x) -> #
*2(01(x), y) -> 01(*2(x, y))
*2(11(x), y) -> +2(01(*2(x, y)), y)
*2(*2(x, y), z) -> *2(x, *2(y, z))
*2(x, +2(y, z)) -> +2(*2(x, y), *2(x, z))
app2(nil, l) -> l
app2(cons2(x, l1), l2) -> cons2(x, app2(l1, l2))
sum1(nil) -> 01(#)
sum1(cons2(x, l)) -> +2(x, sum1(l))
sum1(app2(l1, l2)) -> +2(sum1(l1), sum1(l2))
prod1(nil) -> 11(#)
prod1(cons2(x, l)) -> *2(x, prod1(l))
prod1(app2(l1, l2)) -> *2(prod1(l1), prod1(l2))
mem2(x, nil) -> false
mem2(x, cons2(y, l)) -> if3(eq2(x, y), true, mem2(x, l))
inter2(x, nil) -> nil
inter2(nil, x) -> nil
inter2(app2(l1, l2), l3) -> app2(inter2(l1, l3), inter2(l2, l3))
inter2(l1, app2(l2, l3)) -> app2(inter2(l1, l2), inter2(l1, l3))
inter2(cons2(x, l1), l2) -> ifinter4(mem2(x, l2), x, l1, l2)
inter2(l1, cons2(x, l2)) -> ifinter4(mem2(x, l1), x, l2, l1)
ifinter4(true, x, l1, l2) -> cons2(x, inter2(l1, l2))
ifinter4(false, x, l1, l2) -> inter2(l1, l2)